package com.tanhua.dubbo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author Xiao
 * @date 2021/10/24
 */
@SpringBootApplication
@EnableAsync //开启Spring@Async支持
public class MongoApplication {
    public static void main(String[] args) {
        SpringApplication.run(MongoApplication.class, args);
        System.err.println("tanhua-dubbo-mongo is running...");
    }
}
